1. Download OHS http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html (look for Web Tier Utilities under Required Additional Software) OR From ADE - /ade_autofs/ade_linux/ASCORE_11.1.1.1.0_LINUX.rdd/LATEST/ascore/shiphome/webtier.zip You need to install complete web-tier utilities and install it. OHS is not available separately. 2. Install OHS Full instructions - http://download.oracle.com/docs/cd/E15523_01/install.1111/e14317/qinwt.htm#BDCFEAGG 3. Download and install mod_jk based on platform http://tomcat.apache.org/download-connectors.cgi For example, linux bundle can be found from http://mirror.cc.columbia.edu/pub/software/apache//tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.31/i386/mod_jk-1.2.31-httpd-2.2.x.so 4. Configure httpd.conf and workers.properties For example, <instance-dir>/config/OHS/ohs1/httpd.conf LoadModule jk_module /export/home/amy/oracle/product/11.1.1/as_1/modules/mod_jk-1.2.31-httpd-2.2.x.so JkWorkersFile /export/home/amy/oracle/product/11.1.1/as_1/instances/instance1/config/OHS/ohs1/worker.properties # Where to put jk logs JkLogFile /export/home/amy/oracle/product/11.1.1/as_1/instances/instance1/diagnostics/logs/OHS/ohs1/mod_jk.log # Set the jk log level [debug/error/info] JkLogLevel debug # Select the log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " # JkOptions indicate to send SSL KEY SIZE, JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories # JkRequestLogFormat set the request format JkRequestLogFormat "%w %V %T" # Send all jsp requests to GlassFish JkMount /*.jsp worker1 # Send all glassfish-test requests to GlassFish JkMount /glassfish-test/* worker1 <instance-dir>/config/OHS/ohs1/workers.properties # Define 1 real worker using ajp13 # Set properties for worker1 (ajp13) worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8009 5. Restart OHS /bin/opmnctl stopproc ias-component=ohs1 /bin/opmnctl startproc ias-component=ohs1 6. Enable mod_jk in GlassFish asadmin create-network-listener --protocol http-listener-1 --listenerport 8009 --jkenabled true jk-connector 7. Restart GlassFish asadmin restart-domain |